import {ref} from "vue";
import {getIMedalInter, IMedalInterface} from "./utils/Medalnterface";

export function useSelfDtum() {
    const img = ref<string>()
    const circleUrl = ref('/assets/headerBase.jpg')
    const medal = ref<IMedalInterface[]>([])
    const money = ref<string>('/assets/medal/money.png')
    medal.value = getIMedalInter()
    img.value = '/assets/self-grade.gif'


    return {
        img, circleUrl,medal,money
    }
}